package com.xike.microsysserver.entity;

import lombok.Builder;

import java.io.Serializable;

/**
 * Auther: wuson  <br/>
 * Date: 2021/3/8:17:01  <br/>
 * Description:
 */
@Builder
public class ResponsEntity implements Serializable {
    //状态码
    private int code;
    //信息
    private String msg;
    //内容
    private Object obj;

    public ResponsEntity() {
    }

    public ResponsEntity(int code, String msg, Object obj) {
        this.code = code;
        this.msg = msg;
        this.obj = obj;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }
}
